<%@ page language="java" contentType="text/html; charset=utf-8"
    pageEncoding="utf-8"%>
<%@include file="../../base.jsp"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>


<!--Enum数据字典，动态加载-->
<sys:genericTag4o id="_enumData" methodName="getEnumData"
                  className="com.tmptSource.controller.taglib.A1EnumTag"/>
<sys:genericTag4o id="_enumColumnSelfData" methodName="getEnumColumnSelfData"
                  className="com.tmptSource.controller.taglib.OwTaskTag"/>

<!--页面上查询列的值，动态加载，sql语句读数据库配置而来-->
<sys:genericTag4o id="_selectOptions4mainManId" methodName="select4mainManId"
				  className="com.tmptSource.controller.taglib.OwTaskTag"/>
<!--页面上查询列的值，动态加载，sql语句读数据库配置而来-->
<sys:genericTag4o id="_selectOptions4assistManId" methodName="select4assistManId"
				  className="com.tmptSource.controller.taglib.OwTaskTag"/>

<!--页面上查询列的值，动态加载，sql语句读数据库配置而来-->
<sys:genericTag4o id="_selectOptions4owBaseCommiteeId" methodName="select4owBaseCommiteeId"
				  className="com.tmptSource.controller.taglib.OwBaseRoadTag"/>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html>
<head>

<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
<meta http-equiv="Pragma" content="no-cache"/>
<meta http-equiv="Cache-Control" content="no-cache"/>
<meta http-equiv="Expires" content="0"/>

<title>Add_Edit</title>

<link href="${path}/admin123/css/main.css" rel="stylesheet" type="text/css" />
<link rel="stylesheet" type="text/css" href="${path}/js/jquery/easyui1.5/themes/bootstrap/easyui.css"/>
<link rel="stylesheet" type="text/css" href="${path}/js/jquery/easyui1.5/themes/icon.css"/>
<script type="text/javascript" src="${path}/js/jquery-1.8.0.min.js"></script>
<script type="text/javascript" src="${path}/js/jquery/easyui1.5/jquery.easyui.min.js"></script>
<script type="text/javascript" src="${path}/js/jquery/easyui1.5/locale/easyui-lang-zh_CN.js"></script>
<script type="text/javascript" src="${path}/js/myjs/myutils.js?random=<%=Math.random()%>"></script>
<script type="text/javascript" src="map_add_edit_data.js?random=<%=Math.random()%>"></script>

<style type="text/css">
	#layoutui { margin:5px;}
	#layoutui ol {  margin: 0;padding:5px;list-style: none;}
	#layoutui ol li{
		margin: 1px; padding-left:5px; padding-top:4px;
		float:left;
		width:300px; height:30px;
		background-color: #efefef;
        border: 1px solid #ddd;
	}
	#layoutui label{width:100px;float:left; border-bottom:0px solid #fff;}
	.clear_div{clear:both;}

	body,
	html,
	#allmap {
		width: 100%;
		height: 100%;
		overflow: hidden;
		margin: 0;
		font-family: "微软雅黑";
		background-color: white;
	}

	#g .datagrid-btable tr{height: 30px;}

</style>
<script type="text/javascript">
	var _path = '/zpmng/';
	var _primaryKey='id';
	var _isdialog4AddDialog = '1';

	//Add dialog 中combobox 选择时，看看哪些字段不用输入，直接隐藏了
	var _columnCombobox4AddArray = new Array();
	var _columnCombobox4AddJsonArray = new Array();

	//row data
	var _parameter1_iframedialog = '${paramValues.parameter1_iframedialog[0]}';





</script>
<script type="text/javascript" src="map_add_edit.js?random=<%=Math.random()%>"></script>

</head>

<body style="margin: 3px;" class="font14">
<div class="easyui-layout" style="width:100%;height:100%;">
	<div id="content" region="center" title="任务表单" style="padding:0px;">
		<form id="form_add" method="post" style="width: 650px;">
			<input type="hidden" id="owIssueDeclareId" name="owIssueDeclareId"/>
			<input type="hidden" name="mainManName" id="mainManName4Add"/>
			<input type="hidden" name="assistManName" id="assistManName4Add"/>
			<div id="layoutui">
				<ol>
					<li id="_task_number_line" class="text"  title=""
							>
						<label >任务编号</label>
						<input class="easyui-textbox" name="taskNumber" id="taskNumber4Add"
							   data-options={"valueField":"keyName","textField":"valueName"}  />

					</li>
					<li id="_register_data_number_line" class="text"  title=""
						style="position: relative;">
						<label >登记编号</label>
						<input class="easyui-textbox" name="registerDataNumber" id="registerDataNumber4Add"
							   data-options={"valueField":"keyName","textField":"valueName"}  />

					</li>
					<li id="_name_line" class="text"  title=""
						style="width: 608.4px; position: relative;">
						<label >标题</label>
						<input class="easyui-textbox" name="name" id="name4Add"
							   data-options={"valueField":"keyName","textField":"valueName","width":450}  />

					</li>
					<li id="_ow_priority_code_line" class="text"  title=""
							>
						<label >紧急程度</label>
						<input class="easyui-combobox" name="owPriorityCode" id="owPriorityCode4Add"
							   data-options={"valueField":"keyName","textField":"valueName","required":true,"editable":false}  />
						<script type="text/javascript">
							//动态通过数据字典取值
							_columnCombobox4AddJsonArray[_columnCombobox4AddJsonArray.length] = '${_enumData.OwPriorityCode4addDialog}';
							_columnCombobox4AddArray[_columnCombobox4AddArray.length] = 'owPriorityCode4Add';

						</script>

					</li>
					<li id="_ow_task_type_line" class="text"  title=""
						style="position: relative;">
						<label >任务类型</label>
						<input class="easyui-combobox" name="owTaskType" id="owTaskType4Add"
							   data-options={"valueField":"keyName","textField":"valueName","required":true,"editable":false}  />
						<script type="text/javascript">
							//动态通过数据字典取值
							_columnCombobox4AddJsonArray[_columnCombobox4AddJsonArray.length] = '${_enumData.OwTaskType4addDialog}';
							_columnCombobox4AddArray[_columnCombobox4AddArray.length] = 'owTaskType4Add';

						</script>

					</li>
					<li id="_ow_register_type_line" class="text"  title=""
							>
						<label >登记类型</label>
						<input class="easyui-combobox" name="owRegisterType" id="owRegisterType4Add"
							   data-options={"valueField":"keyName","textField":"valueName","required":false,"editable":false}  />
						<script type="text/javascript">
							//动态通过数据字典取值
							_columnCombobox4AddJsonArray[_columnCombobox4AddJsonArray.length] = '${_enumData.OwRegisterType4addDialog}';
							_columnCombobox4AddArray[_columnCombobox4AddArray.length] = 'owRegisterType4Add';

						</script>

					</li>
					<li id="_ow_violation_type_line" class="text"  title=""
							>
						<label >违规类型</label>
						<input class="easyui-combobox" name="owViolationType" id="owViolationType4Add"
							   data-options={"valueField":"keyName","textField":"valueName","required":true,"editable":false}  />
						<script type="text/javascript">
							//动态通过数据字典取值
							_columnCombobox4AddJsonArray[_columnCombobox4AddJsonArray.length] = '${_enumData.OwViolationType4addDialog}';
							_columnCombobox4AddArray[_columnCombobox4AddArray.length] = 'owViolationType4Add';

						</script>

					</li>
					<li id="_main_man_id_line" class="text"  title=""
						style="width: 608.4px; position: relative;">
						<label >主办人员</label>
						<input class="easyui-combobox" name="mainManId" id="mainManId4Add"
							   data-options={"valueField":"keyName","textField":"valueName","required":false,"editable":false,"multiple":true,"width":450}  />
						<script type="text/javascript">
							//动态通过SQL取值
							_columnCombobox4AddJsonArray[_columnCombobox4AddJsonArray.length] = '${_selectOptions4mainManId.jsonStr4addDialog}';
							_columnCombobox4AddArray[_columnCombobox4AddArray.length] = 'mainManId4Add';
						</script>

					</li>

					<li id="_assist_man_id_line" class="text"  title=""
						style="width: 608.4px; position: relative;">
						<label >协办人员</label>
						<input class="easyui-combobox" name="assistManId" id="assistManId4Add"
							   data-options={"valueField":"keyName","textField":"valueName","required":false,"editable":false,"multiple":true,"width":450}  />
						<script type="text/javascript">
							//动态通过SQL取值
							_columnCombobox4AddJsonArray[_columnCombobox4AddJsonArray.length] = '${_selectOptions4assistManId.jsonStr4addDialog}';
							_columnCombobox4AddArray[_columnCombobox4AddArray.length] = 'assistManId4Add';

						</script>

					</li>
					<%--<li id="_finder_dept_id_line" class="text"  title=""
							>
						<label >统计部门Id</label>
						<input class="easyui-textbox" name="finderDeptId" id="finderDeptId4Add"
							   data-options={"valueField":"keyName","textField":"valueName"}  />

					</li>--%>
					<li id="_finder_dept_name_line" class="text"  title=""
							>
						<label >统计部门名称</label>
						<input class="easyui-textbox" name="finderDeptName" id="finderDeptName4Add"
							   data-options={"valueField":"keyName","textField":"valueName"}  />

					</li>
					<%--<li id="_base_commitee_id_line" class="text"  title=""
						style="position: relative;">
						<label >居委</label>
						<input class="easyui-textbox" name="baseCommiteeId" id="baseCommiteeId4Add"
							   data-options={"valueField":"keyName","textField":"valueName"}  />

					</li>--%>
					<li id="_ow_base_commitee_id_line" class="text"  title="">
						<label >所属居委</label>
						<input class="easyui-combobox" name="baseCommiteeId" id="baseCommiteeId4Add"
							   data-options={"valueField":"keyName","textField":"valueName","editable":false}  />
						<script type="text/javascript">
							//动态通过SQL取值
							_columnCombobox4AddJsonArray[_columnCombobox4AddJsonArray.length] = '${_selectOptions4owBaseCommiteeId.jsonStr4addDialog}';
							_columnCombobox4AddArray[_columnCombobox4AddArray.length] = 'baseCommiteeId4Add';
						</script>
					</li>
					<%--<li id="_base_road_id_line" class="text"  title=""
							>
						<label >居委管理道路</label>
						<input class="easyui-textbox" name="baseRoadId" id="baseRoadId4Add"
							   data-options={"valueField":"keyName","textField":"valueName"}  />

					</li>
					<li id="_pos_house_number_line" class="text"  title=""
						style="width: 608.4px; position: relative;">
						<label >门牌号</label>
						<input class="easyui-textbox" name="posHouseNumber" id="posHouseNumber4Add"
							   data-options={"valueField":"keyName","textField":"valueName"}  />

					</li>--%>
					<li id="_pos_desc_line" class="text"  title=""
						style="width: 608.4px; position: relative;">
						<label >地址</label>
						<input class="easyui-textbox" name="posDesc" id="posDesc4Add"
							   data-options={"valueField":"keyName","textField":"valueName","width":450}  />

					</li>
					<%--<li id="_pos_lng_line" class="text"  title=""
							>
						<label >经度</label>
						<input class="easyui-textbox" name="posLng" id="posLng4Add"
							   data-options={"valueField":"keyName","textField":"valueName"}  />
					</li>
					<li id="_pos_lat_line" class="text"  title=""
							>
						<label >纬度</label>
						<input class="easyui-textbox" name="posLat" id="posLat4Add"
							   data-options={"valueField":"keyName","textField":"valueName"}  />
					</li>--%>
					<li id="_litigant_name_line" class="text"  title=""
							>
						<label >当事人</label>
						<input class="easyui-textbox" name="litigantName" id="litigantName4Add"
							   data-options={"valueField":"keyName","textField":"valueName"}  />

					</li>
					<li id="_litigant_phone_line" class="text"  title=""
							>
						<label >当事人电话</label>
						<input class="easyui-textbox" name="litigantPhone" id="litigantPhone4Add"
							   data-options={"valueField":"keyName","textField":"valueName"}  />

					</li>

					<li id="_issue_content_line" class="text"  title=""
						style="width: 608.4px; height: 59.4px;">
						<label >问题描述</label>
						<input class="easyui-textbox" name="issueContent" id="issueContent4Add"
							   data-options={"valueField":"keyName","textField":"valueName","height":50,"width":450,"multiline":true}  />

					</li>
					<li id="_remark_line" class="text"  title=""
						style="width: 608.4px; height: 59.4px;">
						<label >备注</label>
						<input class="easyui-textbox" name="remark" id="remark4Add"
							   data-options={"valueField":"keyName","textField":"valueName","height":50,"width":450,"multiline":true}  />

					</li>
					<li id="_improve_requied_line" class="text"  title=""
						style="width: 608.4px; position: relative;">
						<label >整改要求</label>
						<input class="easyui-textbox" name="improveRequied" id="improveRequied4Add"
							   data-options={"valueField":"keyName","textField":"valueName","width":450}  />

					</li>
					<%--<li id="_deal_issue_content_line" class="text"  title=""
						style="width: 608.4px; position: relative;">
						<label >处理时现场情况</label>
						<input class="easyui-textbox" name="dealIssueContent" id="dealIssueContent4Add"
							   data-options={"valueField":"keyName","textField":"valueName","width":450}  />

					</li>
					<li id="_ow_deal_type_line" class="text"  title=""
						style="position: relative;">
						<label >处理方式</label>
						<input class="easyui-combobox" name="owDealType" id="owDealType4Add"
							   data-options={"valueField":"keyName","textField":"valueName","required":true,"editable":false}  />
						<script type="text/javascript">
							//动态通过数据字典取值
							_columnCombobox4AddJsonArray[_columnCombobox4AddJsonArray.length] = '${_enumData.OwDealType4addDialog}';
							_columnCombobox4AddArray[_columnCombobox4AddArray.length] = 'owDealType4Add';

						</script>

					</li>
					<li id="_deal_time_line" class="text"  title=""
						style="position: relative;">
						<label >完成时间</label>
						<input class="easyui-datetimebox" name="dealTime" id="dealTime4Add"
							   data-options={"valueField":"keyName","textField":"valueName","editable":false}  />

					</li>
					<li id="_deal_result_line" class="text"  title=""
						style="width: 608.4px; height: 59.4px;">
						<label >处理结果</label>
						<input class="easyui-textbox" name="dealResult" id="dealResult4Add"
							   data-options={"valueField":"keyName","textField":"valueName","height":50,"width":450,"multiline":true}  />

					</li>
					<li id="_deal_remark_line" class="text"  title=""
						style="width: 608.4px; height: 59.4px;">
						<label >解决备注</label>
						<input class="easyui-textbox" name="dealRemark" id="dealRemark4Add"
							   data-options={"valueField":"keyName","textField":"valueName","height":50,"width":450,"multiline":true}  />

					</li>--%>
				</ol>
				<div style="clear:both;"></div>

				<input type="hidden" size="100" id="owPictureMagDtoListStr" name="owPictureMagDtoListStr"/>

				<!-- 加载图片 -->
				<div id="picMagDiv" style="background-color: #fff; text-align: left;margin-top:10px;">
				</div>

				<div style="height: 20px;"></div>
			</div>
		</form>
	</div>
	<div region="east" id="g" class="center" title="待办问题" style="width:420px;padding: 3px; ">
		<table id="list" class="datagrid_table" width="100%" style="width:400px;"></table>

	</div>
<%--	<div region="east" split="true" title="待办问题" style="width:420px;padding: 3px; ">--%>
<%--		<table id="dg" class="easyui-datagrid" style="width:400px;"--%>
<%--			   data-options="rownumbers:false,singleSelect:true,fit:true,--%>
<%--							url:'/zpmng/admin123/coding/owIssueDeclare/owIssueDeclareAjax_queryListBySearch.action?rows=100000&page=1',--%>
<%--						    method:'get'">--%>
<%--			<thead>--%>
<%--			<tr>--%>
<%--				<th data-options="field:'posDesc',width:120">地址</th>--%>
<%--				<th data-options="field:'issueName',width:120">违规描述</th>--%>
<%--				<th data-options="field:'createdate',width:100">创建时间</th>--%>
<%--			</tr>--%>
<%--			</thead>--%>
<%--		</table>--%>
<%--	</div>--%>

</div>
</body>


</html>




